package hrms.util.ws.phone;

import hrms.util.ws.phone.webxml.MobileCodeWS;
import hrms.util.ws.phone.webxml.MobileCodeWSSoap;

/**
 * Created by Aikes on 2018-01-05.
 */
public class PhoneClient
{
	public String getPhoneLocation(String cPhoneNum)
	{
		MobileCodeWS tMobileCodeWS = new MobileCodeWS();
		MobileCodeWSSoap mobileCodeWSSoap = tMobileCodeWS.getMobileCodeWSSoap();
		String location = mobileCodeWSSoap.getMobileCodeInfo(cPhoneNum,null);
		return location;
	}
	
	
	public static void main(String[] args)
	{
		System.out.println(new PhoneClient().getPhoneLocation("18518172948"));
	}
	
}
